% Image reduction test
clc;
clear all;

data=imread('automata_WB.tif');
se=strel('square',4);
data=imerode(data,se);
data=imresize(data,0.15);
imwrite(data,'test.tif','tif');
image(data)